[Unit]
Description=Cassandra Service
After=network.target

[Service]
Type=forking
User=vagrant
ExecStart={{ cassandra_home }}/bin/cassandra -R -p {{ cassandra_pid }}
ExecStop=cat {{ cassandra_pid }} | kill
Restart=on-failure
TimeoutSec=300

[Install]
WantedBy=multi-user.target
